Skip to content

deps: Bump github.com/compose-spec/compose-go/v2 from 2.11.0 to 2.14.0 - #112

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/compose-spec/compose-go/v2-2.14.0
Closed

deps: Bump github.com/compose-spec/compose-go/v2 from 2.11.0 to 2.14.0#112
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/compose-spec/compose-go/v2-2.14.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/compose-spec/compose-go/v2 from 2.11.0 to 2.14.0.

Release notes

Sourced from github.com/compose-spec/compose-go/v2's releases.

v2.14.0

What's Changed

Full Changelog: compose-spec/compose-go@v2.13.0...v2.14.0

v2.13.0

What's Changed

Full Changelog: compose-spec/compose-go@v2.12.1...v2.13.0

v2.12.1

What's Changed

Full Changelog: compose-spec/compose-go@v2.11.0...v2.12.1

Commits
  • d70c053 Memoize include and extends.file loads within a single Load call
  • b3992fc fix(interpolation): sort collected errors by config path
  • 42e84bc fix(interpolation): report all errors in a deterministic order
  • a3e1b4b Add SkipResolveLabels option to skip label_file resolution
  • ace34eb Bump actions/checkout from 7.0.0 to 7.0.1
  • e70e961 Memoize image digest resolution across a WithImagesResolved call
  • 587a6bd Resolve type: image volume sources in WithImagesResolved
  • 9f39d6f Resolve pre_start hook images in WithImagesResolved
  • 5a265f5 Bump actions/stale from 10.3.0 to 10.4.0
  • 23a07bc Bump actions/setup-go from 6.5.0 to 7.0.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/compose-spec/compose-go/v2](https://github.com/compose-spec/compose-go) from 2.11.0 to 2.14.0.
- [Release notes](https://github.com/compose-spec/compose-go/releases)
- [Commits](compose-spec/compose-go@v2.11.0...v2.14.0)

---
updated-dependencies:
- dependency-name: github.com/compose-spec/compose-go/v2
  dependency-version: 2.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Aug 3, 2026
bilby91 added a commit that referenced this pull request Sep 1, 2026
* deps: bump the pending Go module updates

Folds the six open dependabot module bumps into one change, taking the
latest release of each rather than the version each PR was cut against:

- compose-spec/compose-go/v2 2.11.0 -> 2.14.0 (#112)
- google/go-containerregistry 0.21.7 -> 0.22.0 (#113 asked for 0.21.9)
- moby/moby/api 1.54.2 -> 1.55.0, moby/moby/client 0.4.1 -> 0.5.1 (#100)
- golang.org/x/term 0.43.0 -> 0.45.0 (#110)
- google.golang.org/protobuf 1.36.11 -> 1.36.12 (#114)

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* ci: bump the pending GitHub Actions updates

All four are majors whose breaking changes are the Node 24 runtime
default and an ESM migration; the workflows pass no inputs that the
majors removed, and no workflow uses pull_request_target or
workflow_run, which is the trigger pair actions/checkout v7 newly
refuses to check out fork PRs for.

- actions/checkout v6 (ci.yml) and v4 (devcontainer-*.yml) -> v7 (#99)
- actions/setup-go v6 -> v7 (#111)
- docker/login-action v3 -> v4 (#96)
- docker/setup-buildx-action v3 -> v4 (#95)

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix(compose): refuse the compose lifecycle hooks on the native path

compose-go 2.14 adds ServiceConfig.PreStart, so `pre_start` — which
2.11 rejected at schema validation — now loads cleanly. The native
orchestrator creates the service container directly and has no
ephemeral init-container step, so it dropped the hook silently; and
because the hooks are part of the ServiceConfig that ConfigHash
covers, editing a hook that never ran read as a config change and
stopped and removed the running container, destroying its writable
layer.

Refused in Plan.Validate via the existing §2.2 unsupported-field
mechanism, before any infrastructure side effect. stripForHash drops
the three fields as well: the refusal already makes them unreachable
there, but a recreation is unrecoverable, so no field the orchestrator
does not execute should be able to trigger one if the refusal moves or
a caller reaches ConfigHash directly.

post_start and pre_stop parsed cleanly under 2.11 and had the same
defect, so all three are refused rather than just the one the bump
introduced. The shell-out backend is untouched — it delegates to
`docker compose`, which implements the hooks.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix(compose): refuse unsupported fields before building anything

The §2.2 refusal ran only inside Orchestrator.Up, which the engine
reaches after prepareComposeServiceImage, layerFeatures and
buildComposeSidecarImages. A native project using a refused field
therefore paid for the primary image and every sidecar build, and
left those images tagged, before being told the engine will not run
it.

Plan.Validate already documents itself as side-effect-free and safe
to call before any backend interaction, so the fix is to call it
where that matters: straight after compose.Load. The orchestrator's
own validation stays as the authoritative one.

Native backend only. The shell-out path hands the project to
`docker compose`, which implements hooks and other fields the native
orchestrator refuses, so validating there would reject projects that
work today.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Co-authored-by: bilby91 <2201079+bilby91@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
@dependabot @github

dependabot Bot commented on behalf of github Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Looks like github.com/compose-spec/compose-go/v2 is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Sep 1, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/compose-spec/compose-go/v2-2.14.0 branch September 1, 2026 15:59
@bilby91

bilby91 commented Sep 1, 2026

Copy link
Copy Markdown
Member

Superseded by #129, which folded every open dependency bump into one change. This PR was cut against a main that still had the Podman backend, the Apple Containers backend and the per-backend capability gating, so it needed a rebase and its green CI was measuring a tree that no longer exists.

compose-spec/compose-go/v2 is on 2.14.0 as of #129. Worth noting what this bump turned out to carry: 2.14 adds ServiceConfig.PreStart, which 2.11 rejected at schema validation. The native compose orchestrator does not execute the hook but does include it in the recreation hash, so on that path a pre_start edit would have stopped and removed the running container — destroying its writable layer — for a hook that never ran. #129 refuses the lifecycle hooks rather than shipping the bump alone.

@dependabot close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant